# -*- coding: utf-8 -*-


import pytest
import os
import time

if __name__ == '__main__':
    pytest.main(['script/test_bht.py', '-m', 'login', '-vs',  '--alluredir', 'report/allure'])
    now = time.strftime('%Y-%m-%d', time.localtime())
    os.system(f'allure generate ./report/allure -o ./report/html --clean')
    # os.system(f'allure open /report/report-{now} -p {port}')
